//package legorobot;

/**
 * Placeholder for nothing.  This allows us to detect "empty spaces" in the
 * stack more easily.
 * @author Daniel Van Eck
 */
public class NullCmd extends Command{
    private static final String myName = "null";
    
    public NullCmd(LouieControl c) {
        super(myName, c);
    }
    
    public void execute() {
        //Do absolutely nothing
    }
    
    public Command getOpposite() {
        return new NullCmd(null);
    }
    
    /*
     * Returns the String representation of this cmd for use with server
     * communication
     */
    public static String getStringRep() {
        return myName;
    }
}
